package com.by.biz;

import com.by.dao.DistrictDao;
import com.by.pojo.District;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("districtBiz")
public class DistrictBizImpl implements DistrictBiz {
    @Autowired
    private DistrictDao districtDao;

    public List<District> getAllDistrict() {
        return districtDao.getAllDistrict();
    }
}
